package com.gw.quotes.entity.business;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.gw.quotes.entity.business.ProjectListEntity.ProjectItem.ProjectGood;

public class ProjectInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 结果码
	 */
	private int result;

	/**
	 * 结果信息
	 */
	private String msg;

	public int getResult() {
		return result;
	}

	public void setResult(int result) {
		this.result = result;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	private ProjectInfo project;

	public static class ProjectInfo implements Serializable {
		private static final long serialVersionUID = 1L;

		/**
		 * 报价截止时间
		 */
		private Date endtime;
		/**
		 * 购买单位名称
		 */
		private String buyerorgname;
		/**
		 * 项目id
		 */
		private String projectguid;
		/**
		 * 项目商品列表
		 */
		private List<ProjectGood> projectGoodList;
		/**
		 * 项目类型
		 */
		private int projecttype;
		/**
		 * 采购数量
		 */
		private int qty;
		/**
		 * 报价供应商数量
		 */
		private int quotationcount;
		/**
		 * 项目名称
		 */
		private String projectname;
		/**
		 * 项目编号
		 */
		private String projectcode;
		/**
		 * 商品品目名称
		 */
		private String goodsclassname;
		/**
		 * 报名单位数量
		 */
		private int orgcount;
		
		/**
		 * 我的报价列表
		 */
		private List<Projectquotation> projectquotationList;

		public static class Projectquotation implements Serializable {
			private static final long serialVersionUID = 1L;
			/**
			 * 报价id
			 */
			private String quotationguid;
			/**
			 * 项目id
			 */
			private String projectguid;
			/**
			 * 项目商品id
			 */
			private String projectgoodsguid;
			/**
			 * 供应商id
			 */
			private String supplierguid;
			/**
			 * 是否中标（不显示） 1：中标报价0：否
			 */
			private int isbid;
			/**
			 * 报价单价 Decimal
			 */
			private double price;
			/**
			 * 报价总价 Decimal
			 */
			private double totalpric;
			/**
			 * 报价时间
			 */
			private Date quotationtime;
			/**
			 * 报价报价明细
			 */
			private List<Accquotation> accquotations;

			public static class Accquotation implements Serializable {
				private static final long serialVersionUID = 1L;
				/**
				 * 项目id
				 */
				private String projectguid;
				/**
				 * 报价时间
				 */
				private Date quotationtime;
				/**
				 * 供应商id
				 */
				private String supplierguid;
				/**
				 * 配件报价id
				 */
				private String accquotationguid;
				/**
				 * 商品报价id
				 */
				private String quotationguid;
				/**
				 * 项目配件id
				 */
				private String projectaccessoryguid;
				/**
				 * 配件报价单价 Decimal
				 */
				private double price;
				/**
				 * 配件报价总结 decimal
				 */
				private double totalpric;

				public String getProjectguid() {
					return projectguid;
				}

				public void setProjectguid(String projectguid) {
					this.projectguid = projectguid;
				}

				public Date getQuotationtime() {
					return quotationtime;
				}

				public void setQuotationtime(Date quotationtime) {
					this.quotationtime = quotationtime;
				}

				public String getSupplierguid() {
					return supplierguid;
				}

				public void setSupplierguid(String supplierguid) {
					this.supplierguid = supplierguid;
				}

				public String getAccquotationguid() {
					return accquotationguid;
				}

				public void setAccquotationguid(String accquotationguid) {
					this.accquotationguid = accquotationguid;
				}

				public String getQuotationguid() {
					return quotationguid;
				}

				public void setQuotationguid(String quotationguid) {
					this.quotationguid = quotationguid;
				}

				public String getProjectaccessoryguid() {
					return projectaccessoryguid;
				}

				public void setProjectaccessoryguid(String projectaccessoryguid) {
					this.projectaccessoryguid = projectaccessoryguid;
				}

				public double getPrice() {
					return price;
				}

				public void setPrice(double price) {
					this.price = price;
				}

				public double getTotalpric() {
					return totalpric;
				}

				public void setTotalpric(double totalpric) {
					this.totalpric = totalpric;
				}

			}

			public String getQuotationguid() {
				return quotationguid;
			}

			public void setQuotationguid(String quotationguid) {
				this.quotationguid = quotationguid;
			}

			public String getProjectguid() {
				return projectguid;
			}

			public void setProjectguid(String projectguid) {
				this.projectguid = projectguid;
			}

			public String getProjectgoodsguid() {
				return projectgoodsguid;
			}

			public void setProjectgoodsguid(String projectgoodsguid) {
				this.projectgoodsguid = projectgoodsguid;
			}

			public String getSupplierguid() {
				return supplierguid;
			}

			public void setSupplierguid(String supplierguid) {
				this.supplierguid = supplierguid;
			}

			public int getIsbid() {
				return isbid;
			}

			public void setIsbid(int isbid) {
				this.isbid = isbid;
			}

			public double getPrice() {
				return price;
			}

			public void setPrice(double price) {
				this.price = price;
			}

			public double getTotalpric() {
				return totalpric;
			}

			public void setTotalpric(double totalpric) {
				this.totalpric = totalpric;
			}

			public Date getQuotationtime() {
				return quotationtime;
			}

			public void setQuotationtime(Date quotationtime) {
				this.quotationtime = quotationtime;
			}

			public List<Accquotation> getAccquotations() {
				return accquotations;
			}

			public void setAccquotations(List<Accquotation> accquotations) {
				this.accquotations = accquotations;
			}

		}

		public Date getEndtime() {
			return endtime;
		}

		public void setEndtime(Date endtime) {
			this.endtime = endtime;
		}

		public String getBuyerorgname() {
			return buyerorgname;
		}

		public void setBuyerorgname(String buyerorgname) {
			this.buyerorgname = buyerorgname;
		}

		public String getProjectguid() {
			return projectguid;
		}

		public void setProjectguid(String projectguid) {
			this.projectguid = projectguid;
		}

		public List<ProjectGood> getProjectGoodList() {
			return projectGoodList;
		}

		public void setProjectGoodList(List<ProjectGood> projectGoodList) {
			this.projectGoodList = projectGoodList;
		}

		public int getProjecttype() {
			return projecttype;
		}

		public void setProjecttype(int projecttype) {
			this.projecttype = projecttype;
		}

		public int getQty() {
			return qty;
		}

		public void setQty(int qty) {
			this.qty = qty;
		}

		public int getQuotationcount() {
			return quotationcount;
		}

		public void setQuotationcount(int quotationcount) {
			this.quotationcount = quotationcount;
		}

		public String getProjectname() {
			return projectname;
		}

		public void setProjectname(String projectname) {
			this.projectname = projectname;
		}

		public String getProjectcode() {
			return projectcode;
		}

		public void setProjectcode(String projectcode) {
			this.projectcode = projectcode;
		}

		public String getGoodsclassname() {
			return goodsclassname;
		}

		public void setGoodsclassname(String goodsclassname) {
			this.goodsclassname = goodsclassname;
		}

		public int getOrgcount() {
			return orgcount;
		}

		public void setOrgcount(int orgcount) {
			this.orgcount = orgcount;
		}

		public List<Projectquotation> getProjectquotationList() {
			return projectquotationList;
		}

		public void setProjectquotationList(List<Projectquotation> projectquotationList) {
			this.projectquotationList = projectquotationList;
		}

	}

	public ProjectInfo getProject() {
		return project;
	}

	public void setProject(ProjectInfo project) {
		this.project = project;
	}

}
